package com.gw.yunke.service;

import com.gw.yunke.domain.Collect;
import com.gw.yunke.domain.dto.CollectReq;
import com.gw.yunke.domain.dto.CollectResp;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ICollectService {

  @Transactional
  int addCollect(Collect collect);

  List<CollectResp> getCollects(CollectReq collectReq);

  int cancelCollect(Long courseId);
}
